#pragma once
#include "Sprite.h"
#include "ximage.h"
#include "SpriteCanvas.h"


class CEffectSprite : public CSprite
{
public:
	CEffectSprite(void);
	~CEffectSprite(void);

	virtual void Render(CDC *pDC);

	void Play(CxImage *pSpriteImage, int nImageFrameCount, CPoint ptSrc, CPoint ptDst,  int nTotalFrame, int nIntervalTime, CSpriteCanvas* pContainer);
public:
    CxImage *m_pSpriteImage;
	int m_nImageFrameCount;
};
